package com.example.demo.mapper;

import com.example.demo.model.Sample;
import com.example.demo.model.SampleExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SampleMapper {
    long countByExample(SampleExample example);

    int deleteByExample(SampleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Sample record);

    int insertSelective(Sample record);

    List<Sample> selectByExampleWithBLOBs(SampleExample example);

    List<Sample> selectByExample(SampleExample example);

    List<Sample>  selectAllSample();

    Sample selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Sample record, @Param("example") SampleExample example);

    int updateByExampleWithBLOBs(@Param("record") Sample record, @Param("example") SampleExample example);

    int updateByExample(@Param("record") Sample record, @Param("example") SampleExample example);

    int updateByPrimaryKeySelective(Sample record);

    int updateByPrimaryKeyWithBLOBs(Sample record);

    int updateByPrimaryKey(Sample record);

    List<Sample> selectPageSample();
}